﻿{% extends "gma/base.html" %}

<!-- CONTENT
  =====================================================================-->

{% block content %}

<div class="weui-gallery" style="display: block">
    <a href="javascript:history.back()">
        {% if is_svga %}
            <div src="{{ image_url }}" loops="0" clearsAfterStop="true" style="width: 100%; height:100%"> </div>
        {% else %}
            <span class="weui-gallery__img" style="background-image: url({{ image_url }});"></span>
        {% endif %}
    </a>
    <div class="weui-gallery__opr">
        <a href="{% url 'gma:home' %}">
            <i class="fa fa-home weui-icon_gallery-home"></i>
        </a>
    </div>
</div>

{% endblock content %}

<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}
<script src="https://cdn.jsdelivr.net/npm/svgaplayerweb@2.3.0/build/svga.min.js"></script>
{% endblock extra_js %}